package com.newbye.utils
{
	import flash.display.DisplayObject;
	import flash.events.MouseEvent;

	public class Drag
	{
		public static var startStageX:Number = 0;
		public static var startStageY:Number = 0;
		
		public static function addDrag(dis:DisplayObject):void
		{
			dis.addEventListener(MouseEvent.MOUSE_MOVE, onMove);
		}
		
		public static function removeDrag(dis:DisplayObject):void
		{
			dis.removeEventListener(MouseEvent.MOUSE_MOVE, onMove);
		}
		
		private static function onMove(e:MouseEvent):void
		{
			var dis:DisplayObject = e.target as DisplayObject;
			if(null != dis)
			{
				
			}
		}
	}
}